﻿using System;
using UnityEngine;

public class AnimationIntermediary:MonoBehaviour
{
    public Action BeginSkillEvent;
    public Action OnSkillEvent;
    public Action FinishSkillEvent;
    public Action EndSkillEvent;
    
    public void BeginSkill() 
    {
        BeginSkillEvent?.Invoke();
    }
    public void OnSkill() 
    {
        OnSkillEvent?.Invoke();
    }
    public void FinishSkill() 
    {
        FinishSkillEvent?.Invoke();
    }
    public void EndSkill() 
    {
        EndSkillEvent?.Invoke();
    }
}

